package com.mdd.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 项目配置类
 * @author Xy718
 * @date 2022-02-28 10:38:29
 */
@Data
@Component
@ConfigurationProperties(prefix = "rtz")
public class ProjectProperties {
    /**
     * 是否模拟下单客户端IP
     */
    private boolean clientIpMock;

    /**
     * 网页支付唤起域名
     */
    private String webPayLinkDomain;
    /**
     * 支付结果回调域名
     */
    private String notifyDomain;

    private String alipayAppId;
    private String alipayServerUrl;
    private String alipayPrivateKeyFile;
    private String alipayAppCertFile;
    private String alipayAliRootCertFile;
    private String alipayAliPublicCertFile;


    /**
     * 微信支付AppID
     */
    private String wxpayAppid;
    /**
     * 微信支付商户号
     */
    private String wxpayMchid;
    private String wxpayApiCertFile;
    private String wxpayApiKeyFile;
    private String wxpayApiv3Key;

}
